home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000131_icon-group-sender _Sat May 21 07:30:56 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
3KB
Received: by cheltenham.cs.arizona.edu; Sat, 21 May 1994 10:57:54 MST
Date: Sat, 21 May 1994 07:30:56 -0600 (CST)
From: Chris Tenaglia - 257-8765 <TENAGLIA@MIS.MCW.EDU>
Subject: Re: How do I place a system editor in an icon region?
To: rick@sparc.sandiegoca.ncr.com
Cc: icon-group@cs.arizona.edu
Message-Id: <01HCLCIE6EGI8WW2SH@mis.mcw.edu>
Organization: Medical College of Wisconsin (Milwaukee, WI)
X-Vms-To: IN%"rick@sparc.sandiegoca.ncr.com"
X-Vms-Cc: IN%"icon-group@cs.arizona.edu"
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
It sounds like Xwindows are present? I wrote an X-based menu that
needs to do something like that too. Mine called different
character based apps. Assuming you know what filename you want
to edit, here's the code segment I'd use.
command := "/usr/bin/X11/xterm -e /usr/ucb/vi " || filename || " &"
system(command)
I do this on a DEC ultrix unix system. My display is an Xterminal. This
runs the editor on the file and when the editor is exited "ZZ", the
spawned window disappears automatically.
Chris Tenaglia (System Manager) | "The past explained,
Medical College of Wisconsin | the future fortold,
8701 W. Watertown Plank Rd. | the present largely appologized for."
Milwaukee, WI 53226 | Organon to The Doctor
(414)257-8765 |
tenaglia@mis.mcw.edu
> From: IN%"rick@sparc.sandiegoca.ncr.com" "Richard Hernandez" 20-MAY-1994 18:02:25.04
> To: IN%"icon-group@cs.arizona.edu"
> Subj: How do I place a system editor in an icon region?
> Hi Group!
> I have just installed icon 8.10 and built my first program.
> For those of you that are interested, platforms are:
> MACHINE=NCR 3000 Family, OS=NCR System V Release 4
> MACHINE=Solbourne Series5 OS=Solbourne/Sun Microsystems sun4 4.1B
> I have a question on how to add a system editor (vi,emacs)
> within an icon window, that is, frame an editor in icon. I
> would prefer not using icon to create an editor (why re-invent
> the wheel?). Any help would be appreciated.
> --
> I do not represent AT&T or NCR and all correspondance regarding
> AT&T or NCR should be sent to those that do ...
> _ __ Richard "Rick" Hernandez MailStop: 1440
> ' ) ) / c/o AT&T GLOBAL INFORMATION SOLUTIONS
> /--' o _. /_ 17095 VIA DEL CAMPO PHONE: (619) 485-3467
> / \_(_(__/ <_ SAN DIEGO CA 92127-1711 FAX: (619) 485-3367
> E-MAIL: Richard.Hernandez@SanDiegoCA.NCR.COM